import type { addEditState } from '@/types/baseConfig'
const addEdit: addEditState = {
  basic: {
    diaWidth: '700px',
    inline: false,
    showFeedback: true,
    showLabel: true,
    showRequireMark: true
  },
  questions: [],
  addApiConfig: {
    api: '',
    method: 'post',
    tipText: '添加成功'
  },
  editApiConfig: {
    api: '',
    method: 'post',
    tipText: '编辑成功'
  },
  initForm: [{ oldKey: 'id', type: 'assembly', newKey: 'id' }]
}

export default addEdit
